#include <stdio.h>

// 大端小端
int main(int argc, char *argv[])
{
  int i = 0x1254;
  char *p = (char*)&i;
  printf("%x, %x\n", *p, *(p+1));
  printf("float:%d\t, double:%d\n", sizeof(float), sizeof(double));
  signed char a = 0x1c1;
  /* signed char b = -3; */
  /* a = a & b; */
  printf("0x1c1 = %x, size:%d\n", a, sizeof(a));
  return 0;
}
